GTE Symmetric Eigensolver 3x3

require.mx('mxjs/base/math/matrix/GteSymmetricEigensolver3x3.js');

This is a javascript port of the non-iterative symmetric eigensolver for 3x3 matrices from Geometric Tools: https://www.geometrictools.com

The original GteSymmetricEigensolve3x3.h is authored by David Eberly, Geometric Tools, Redmond WA 98052 Copyright (c) 1998-2019 Distributed under the Boost Software License, Version 1.0. http://www.boost.org/LICENSE_1_0.txt http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt

StatusName
NISymmetricSolver3x3 ( vec3 ↑eval, Array<vec3> ↑evec, Number ↓a00, Number ↓a01, Number ↓a02, Number ↓a11, Number ↓a12, Number ↓a22 )

Non-iterative method of solving for the eigenvalues and eigenvectors of a symmetric matrix defined by the components a00, a01, a02, a11, a12, a22.


Library Functions

Lib.NISymmetricSolver3x3 ( ↑eval, ↑evec, ↓a00, ↓a01, ↓a02, ↓a11, ↓a12, ↓a22 )

Non-iterative method of solving for the eigenvalues and eigenvectors of a symmetric matrix defined by the components a00, a01, a02, a11, a12, a22.

Parameters:
  • vec3 ↑eval - an array of (at least) three elements that receives the eigenvalues
  • Array<vec3> ↑evec - an array of (at least three) vectors that receives the eigenvectors, evec[i] is the eigenvector corresponding to the eigenvalue eval[i]
  • Number ↓a00 - value of row 0 column 0 in the symmetric matrix
  • Number ↓a01 - value of row 0 column 1 in the symmetric matrix
  • Number ↓a02 - value of row 0 column 2 in the symmetric matrix
  • Number ↓a11 - value of row 1 column 1 in the symmetric matrix
  • Number ↓a12 - value of row 1 column 2 in the symmetric matrix
  • Number ↓a22 - value of row 2 column 2 in the symmetric matrix